package com.gs.api.projects.shejiao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户提现表
 * </p>
 *
 * @author guoshao
 * @since 2021-10-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_withdrawal")
public class Withdrawal extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 提现金额
     */
    private BigDecimal money;

    /**
     * 提现账户名称
     */
    private String username;

    /**
     * 审核状态1-待审核；审核通过；3-审核不通过
     */
    private Integer status;

    /**
     * 提现账户
     */
    private String account;

    /**
     * 提现类型：1-微信；2-支付宝
     */
    private Integer type;

    /**
     * 流水号
     */
    private String flowNo;

    private String appid;

    /**
     * 申请时间
     */
    private Date applyTime;

    /**
     * 最后操作时间
     */
    private Date updateTime;


}
